-- define target
target("window-dlopen")

    -- set kind
    set_kind("static")

    -- add files
    add_files("win32-dlfcn.cc")

-- define target
target("test")

    -- set kind
    set_kind("binary")

    -- add files
    add_files("test.cpp")

    -- add deps
    add_deps("window-dlopen")

